package com.fire.control.system.module.system.dao;


import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.fire.control.system.entity.Resource;

@Repository
public interface ResourceRepository  extends JpaRepository<Resource,String>{
	
	@Query("from Resource r where r.resourceCode !='1000'")
	public List<Resource> findAll();
}
